runtime.sudog.g (field)
17 uses
runtime (current package)
chan.go#L259: mysg.g = gp
chan.go#L326: gp := sg.g
chan.go#L431: gp := sg.g
chan.go#L450: gp := sg.g
chan.go#L625: mysg.g = gp
chan.go#L706: gp := sg.g
chan.go#L878: if sgp.isSelect && !sgp.g.selectDone.CompareAndSwap(0, 1) {
chan.go#L897: raceacquireg(sg.g, chanbuf(c, 0))
chan.go#L898: racereleaseg(sg.g, chanbuf(c, 0))
chan.go#L925: raceacquireg(sg.g, qp)
chan.go#L926: racereleaseg(sg.g, qp)
chan.go#L932: racereleaseacquireg(sg.g, qp)
runtime2.go#L361: g *g
select.go#L303: sg.g = gp
sema.go#L117: goready(s.g, traceskip)
sema.go#L286: s.g = getg()
sema.go#L573: s.g = getg()
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |